import React from 'react'
import Row from "./Row";



export default class BackgroundPanel extends React.Component{
    render() {
        const {data,coord} = this.props
        return (
          <div className="bgc">
              <div className="panel">
                  {
                      data.map((item,index) =>{
                          console.log(index)
                          return (<Row col={index} data={item} coord1={coord}/>)}
                      )
                  }

              </div>
          </div>
        )
    }
}